//
//  UIView+ZHView.h
//  sc-cyan-ios
//
//  Created by lj on 2017/12/27.
//  Copyright © 2017年 greenbuilding. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (ZHView)

@property(nonatomic,assign) CGFloat centerX;

@property(nonatomic,assign) CGFloat centerY;

@property (nonatomic, assign) CGFloat bottom;

@property (nonatomic, assign) CGFloat right;

/**
 *通过xib创建视图
 */
+ (instancetype)initWithXib;

/**
 * 判断View是否显示在屏幕上
 */
- (BOOL)isDisplayedInScreen;

@end
